package tech.yixiyun.framework.kuafu.enhance.hancer;

/**
 * AOP增强器执行过程中发生的异常
 */
public class EnhancerException extends RuntimeException {

    public EnhancerException(String msg) {
        super(msg);
    }

    public EnhancerException(String msg, Throwable cause) {
        super(msg, cause.getCause() == null ? cause : cause.getCause());
    }

    public EnhancerException(Throwable cause) {
        super(cause.getCause() == null ? cause : cause.getCause());
    }


}
